﻿using System;
using Pay.TO;

namespace Pay.Data {
	/// <summary>
	/// 对账单
	/// </summary>
	public class ProfitDay {
		public ProfitDay() {
		}
		/// <summary>
		/// 对账ID
		/// </summary>
		public long Id { get; set; }
		/// <summary>
		/// 通道
		/// </summary>
		public PayChannel PayChannel { get; set; }
		/// <summary>
		/// 状态：1已下载文件，2已对账
		/// </summary>
		public int Status { get; set; }
		/// <summary>
		/// 文件
		/// </summary>
		public string File { get; set; }
		/// <summary>
		/// 日期
		/// </summary>
		public long CreateDate { get; set; }
		/// <summary>
		/// 支付金额
		/// </summary>
		public decimal PayAmount { get; set; }
		/// <summary>
		/// 代付金额
		/// </summary>
		public decimal OffAmount { get; set; }
		/// <summary>
		/// 余额
		/// </summary>
		public decimal Balance { get; set; }
		/// <summary>
		/// 当天总分润
		/// </summary>
		public decimal DayProfit { get; set; }
		/// <summary>
		/// 利润
		/// </summary>
		public decimal Profit { get; set; }
		/// <summary>
		/// 费率成本
		/// </summary>
		public decimal FeeCost { get; set; }
		/// <summary>
		/// 结算成本
		/// </summary>
		public decimal SettleCost { get; set; }
		/// <summary>
		/// 商户高清分润
		/// </summary>
		public decimal MerchantProfit { get; set; }
		/// <summary>
		/// 支付交易笔数
		/// </summary>
		public int PayCount { get; set; }
	}
}
